291d6a9199fad1b6a83a5eb25b81c394da21f201,maven-project/src/main/java/org/apache/maven/project/artifact/PomMetadataSource.java,PomMetadataSource,retrieve,#ArtifactMetadata#ArtifactRepository#List#,75

Before Change


        for ( Iterator i = project.getDependencies().iterator(); i.hasNext(); )
        {
            Dependency d = (Dependency) i.next();
            artifacts.add( new ArtifactMetadata( d.getGroupId(), d.getArtifactId(), d.getVersion() ) );
        }

        // The remote repositories is intentially null here while working in the graph in the least invasive way

After Change


        {
            Dependency d = (Dependency) i.next();

            artifacts.add( new ArtifactMetadata( d.getGroupId(), d.getArtifactId(), d.getVersion(), d.getType(),
                d.getScope(), d.getClassifier(), null, null, false, null ) );
        }

        // The remote repositories is intentially null here while working in the graph in the least invasive way